package com.wanmait.movie.esdao;

import com.wanmait.movie.entity.Movie;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface MovieRepository extends ElasticsearchRepository<Movie,Integer> {
    List<Movie> findAllByMovieNameLike(String movieName);
}
